/**
 * Copyright 2020 OPSLI 快速开发平台 https://www.opsli.com
 * <p>
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 * <p>
 * http://www.apache.org/licenses/LICENSE-2.0
 * <p>
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */
package org.opsli.api.wrapper.business.emergencyTask;

import java.math.BigDecimal;
import java.util.Date;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.opsli.api.base.warpper.ApiWrapper;
import org.opsli.common.annotation.validator.Validator;
import org.opsli.common.annotation.validator.ValidatorLenMax;
import org.opsli.common.annotation.validator.ValidatorLenMin;
import org.opsli.common.enums.ValidatorType;
import org.opsli.plugins.excel.annotation.ExcelInfo;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

/**
* 隐患派发任务 Model
*
* @author Ljc
* @date 2022-03-22 15:34:15
*/
@Data
@EqualsAndHashCode(callSuper = false)
public class EmergencyReportTaskModel extends ApiWrapper {

    /** 公司编号 */
    @ApiModelProperty(value = "公司编号")
    @ExcelProperty(value = "公司编号", order = 1)
    @ExcelInfo
    @ValidatorLenMax(19)
    private String devid;

    /** 公司名称 */
    @ApiModelProperty(value = "公司名称")
    @ExcelProperty(value = "公司名称", order = 2)
    @ExcelInfo
    @ValidatorLenMax(50)
    private String devname;

    /** 负责人编号 */
    @ApiModelProperty(value = "负责人编号")
    @ExcelProperty(value = "负责人编号", order = 3)
    @ExcelInfo
    @ValidatorLenMax(19)
    private String userId;

    /** 维修员名称 */
    @ApiModelProperty(value = "维修员名称")
    @ExcelProperty(value = "维修员名称", order = 4)
    @ExcelInfo
    @ValidatorLenMax(255)
    private String userName;

    /** 任务下发时间 */
    @ApiModelProperty(value = "任务下发时间")
    @ExcelProperty(value = "任务下发时间", order = 5)
    @ExcelInfo
    @ValidatorLenMax(50)
    private String beginTime;

    /** 任务完成时间 */
    @ApiModelProperty(value = "任务完成时间")
    @ExcelProperty(value = "任务完成时间", order = 6)
    @ExcelInfo
    @ValidatorLenMax(50)
    private String endTime;

    /** 隐患ID */
    @ApiModelProperty(value = "隐患ID")
    @ExcelProperty(value = "隐患ID", order = 7)
    @ExcelInfo
    @ValidatorLenMax(19)
    private String stationId;

    /** 隐患名称 */
    @ApiModelProperty(value = "隐患名称")
    @ExcelProperty(value = "隐患名称", order = 8)
    @ExcelInfo
    @ValidatorLenMax(255)
    private String stationName;

    /** 隐患记录标识 */
    @ApiModelProperty(value = "隐患记录标识")
    @ExcelProperty(value = "隐患记录标识", order = 9)
    @ExcelInfo
    @ValidatorLenMax(50)
    private String sign;

    /** 描述 */
    @ApiModelProperty(value = "描述")
    @ExcelProperty(value = "描述", order = 10)
    @ExcelInfo
    @ValidatorLenMax(255)
    private String description;

    /** 种类: 0系统 */
    @ApiModelProperty(value = "种类: 0系统")
    @ExcelProperty(value = "种类: 0系统", order = 11)
    @ExcelInfo
    @ValidatorLenMax(1)
    private String type;


    /** 隐患种类预留 */
    @ApiModelProperty(value = "隐患种类预留")
    @ExcelProperty(value = "隐患种类预留", order = 13)
    @ExcelInfo
    @ValidatorLenMax(10)
    private String emergencyType;

    /** 处理意见 */
    @ApiModelProperty(value = "处理意见")
    @ExcelProperty(value = "描述", order = 14)
    @ExcelInfo
    @ValidatorLenMax(200)
    private String feedback;

    /** 隐患原因 */
    @ApiModelProperty(value = "隐患原因")
    @ExcelProperty(value = "隐患原因", order = 15)
    @ExcelInfo
    @ValidatorLenMax(200)
    private String defectCause;

    /** 隐患结果 */
    @ApiModelProperty(value = "隐患结果")
    @ExcelProperty(value = "隐患结果", order = 16)
    @ExcelInfo
    @ValidatorLenMax(200)
    private String defectResult;

    /** 维修图片 */
    @ApiModelProperty(value = "维修图片")
    @ExcelProperty(value = "维修图片", order = 17)
    @ExcelInfo
    @ValidatorLenMax(65535)
    private String recordPic;

    /** 维修视频 */
    @ApiModelProperty(value = "维修视频")
    @ExcelProperty(value = "维修视频", order = 18)
    @ExcelInfo
    @ValidatorLenMax(65535)
    private String recordVideo;


    private String realName;

    /** 任务下发人 */
    @ApiModelProperty(value = "任务下发人")
    @ExcelProperty(value = "任务下发人", order = 20)
    @ExcelInfo
    @ValidatorLenMax(19)
    private String manager;




}